import { LoggerService } from "@nestjs/common";

const chalk = require('chalk');

export class MyLogger implements LoggerService{
    log(message:string) { console.log(chalk.red(message)) }

    error(message:string,trace:string) { console.error(message,trace) }

    warn(message:string) { console.warn("custom warn:"+ message) }
}